libxenlight: write stubdoms logs to file
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Dec 2009 08:45:16 +0000 (08:45 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Dec 2009 08:45:16 +0000 (08:45 +0000)
commit07443ee6da5827ee23e8ff6bae895166ee81e581
treeec2a2540916d56bd47e7af5cc848b321509c4a67
parentf20744517f7b8186a0b5494a399aa8e6230717c7
libxenlight: write stubdoms logs to file

It turns out that there is a better way to write stubdoms logs to file
than using libxl_console_attach: qemu is the one that provides the
console backend for stubdoms and qemu is able to redirect a serial to
file, so we can use this feature to make sure the first stubdom
console is always redirected to a logfile.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_utils.c